﻿Imports System.ComponentModel.DataAnnotations

Namespace Models.ViewModels
    Public Class LoginModel
        <Required(ErrorMessageResourceName:="Error_UserName_Required", ErrorMessageResourceType:=GetType(My.Resources.ErrorMessageResources))> _
        <Display(Name:="Nombre de Usuario:")> _
        Property UserName As String

        <Required(ErrorMessageResourceName:="Error_Password_Required", ErrorMessageResourceType:=GetType(My.Resources.ErrorMessageResources))> _
        <DataType(DataType.Password)> _
        <Display(Name:="Contraseña:")> _
        Property Password As String
    End Class
End Namespace

